/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package controller.service;

import java.util.List;
import model.entities.User;

/**
 *
 * @author K u Ku
 */
public interface UserControllerService {
    public List<User> getUsersList();
    public User getUserByID(int userID);
    public User getUserByUserName(String userName);
    public boolean insertUser(User user);
    public boolean updateUser(User user);
    public boolean deleteUser(int userID);
    public List<User> findUserByID(int id);
    public List<User> findUserByName(String name);
    public boolean login(String userName, String password);
    public void logout();
}
